package com.example.house.adapter

import android.widget.TextView
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.example.house.R
import com.example.house.entity.HouseAddEntity

class HouseApplyAdapter : BaseQuickAdapter<HouseAddEntity,BaseViewHolder>(R.layout.item_house_apply) {
    override fun convert(holder: BaseViewHolder, item: HouseAddEntity) {
        holder.setText(R.id.tv_apply_no,"申请编号: ${item.enterpriseName}")
        holder.setText(R.id.tv_apply_time,"申请时间: ${item.entryTime}")
        holder.setText(R.id.tv_status,"${item.status}")
    }
}